namespace Sany.AGV.RobotTool.ViewModels
{
    public class AnchorableViewModel : PaneViewModel
	{

		/// <summary>
		/// Class constructor
		/// </summary>
		/// <param name="name"></param>
		public AnchorableViewModel(string name)
		{
			Name = name;
			Title = name;
		}

		public string Name { get; private set; }


		/// <summary>
		/// 
		/// </summary>
		private bool _isVisible = true;
		public bool IsVisible
		{
			get => _isVisible;
			set
			{
				if (_isVisible != value)
				{
					_isVisible = value;
					RaisePropertyChanged(nameof(IsVisible));
				}
			}
		}
	}
}
